package cn.good.biz.service;

import cn.good.pojo.Comment;
import cn.good.pojo.Doctor;
import cn.good.vo.DoctorInfoVO;
import java.util.List;

public interface GDDoctorService {
    //根据id查询医生
    DoctorInfoVO searchDoctorInfo(Long id)throws Exception;
    //关注医生
    void attentionDoctor(Long userId,Long doctorId)throws Exception;
    //取关医生
    void cancelDoctor(Long userId,Long doctorId)throws Exception;
    //查询用户关注的医生列表
    List<Doctor> selectDoctorListByUserId(Long userId)throws Exception;
    //查询医生评论
    List<Comment> selectCommonListByUesrDoctorId(Long doctorId)throws Exception;
}
